package cn.duxiaod.demo.proxy.staticproxy;

public class SmsServiceProxy implements SmsService {
    private final SmsService smsService;
    SmsServiceProxy(SmsService smsService){
        this.smsService = smsService;
    }
    @Override
    public String send(String message) {
        System.out.println("before method send()");
        smsService.send(message);
        System.out.println("after method send()");
        return null;
    }
}
